<?php

namespace app\admin\model;

use think\Model;

/**
 * Tz
 * @controllerUrl 'tz'
 */
class Tz extends Model
{
    // 表主键
    protected $pk = 'TZID';
    
    // 表名
    protected $table = 'tz';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    protected $createTime = false;
    protected $updateTime = false;

    public function col(){
        return    $this->hasMany('conloadplan','TZID','TZID');
    }

}